<style>
    .mask {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0;
        transition: opacity .3s;

    }
    .msgbox {
        border-radius: 12px;
        position: fixed;
        z-index: 101;
        left: 0;
        top: 150px;
        background: #fff;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        transition: top .3s, opacity .3s;
    }

    .msgbox .icon-close {
        position: absolute;
        top: 0;
        right: 0;
        width: 44px;
        height: 50px;
        font-size: 14px;
        cursor: pointer;
        text-align: center;
        line-height: 50px;
        border-radius: 0 3px 0 0;
    }
    .msgbox .icon-close:before { margin: 0; }
    .msgbox .icon-close:hover { background: #f8f8f8; }

    .msgbox .msg-wrap {

        min-width: 530px;
        max-width: 1000px;
        /*padding: 40px 30px;*/
        text-align: center;
        word-break: break-all;
        word-wrap: break-word;
    }
    .msgbox .msg-wrap .warning-msg {
        position: relative;
        display: block;
        margin: 0 50px;
    }
    .msgbox .msg-wrap .warning-msg  .icon-warning {
        position: absolute;
        top: -13px;
        left: -50px;
        font-size: 32px;
        color: #F0D967;
        vertical-align: top;
    }
    .msgbox .msg-wrap .warning-msg .warning-btns {
        margin-top: 40px;
    }
    .msgbox .msg-wrap .warning-msg  .warning-btns .btn,.msgbox .msg-wrap .warning-msg  .warning-btns button {
        margin-left: 80px;
    }

    .message{
        margin: 0 auto;
        max-width: 800px;
        padding: 20px 30px;
        /*background: #F60;*/
        /*background: #fff;*/
        border-radius: 12px;
        z-index: 99;
    }
    .message span{
        display: block;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        color: #F60;
    }

    .message  .form-item{
        margin: 1em 0;
    }

    .message  .form-textarea-wrapper textarea{
        min-width: 100%;
        max-width: 100%;
        min-height: 130px;
        max-height: 130px;
        border-radius: 10px;
        border: none;
        padding: 5px;
        color: #666666;
        line-height: 25px;
        border: 1px solid #F60;
    }
    .message  .webform-component--msg-name{
        position: relative;
        width: 49%;
        float: left;
    }
    .message  .webform-component--msg-mfdh{
        position: relative;
        width: 49%;
        float: right;
    }
    /*.message  .webform-component-textarea .form-textarea-wrapper{*/
        /*position: relative;*/
    /*}*/

    .message  input{
        width: 100%;
        border: 1px solid #F60;
        border-radius: 5px;
        height: 35px;
        text-align: center;
    }
    .message .tips{
        display: none;
        position: absolute;
        top: 43px;
        left: 30px;
        width: 175px;
        padding: 5px;
        border-radius: 5px;
        text-align: left;
        background: #fff;
        /*color: #fff;*/
        font-size: 14px;
        line-height: 1.5;
        z-index: 9;
        border: 1px solid #474749;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 1);
    }
    .message .tips-content {
        top: 150px;
        left: 40px;
    }


    .message .tips:before {
        position: absolute;
        content: " ";
        position: absolute;
        left: 15px;
        top:-7px;
        width: 12px;
        height: 12px;
        border: #474749 solid 1px;
        border-left: 0;
        border-bottom: 0;
        transform: rotate(-45deg);
        background: #fff;
    }

    .warning-btns {
        text-align: center;
    }
    .new-btn, button {
        display: inline-block;
        text-align: center;
        color: #fff!important;
        text-decoration: none!important;
        border-radius: 3px;
    }
    .btn-middle {
        border: none;
        height: 40px;
        padding: 0 40px;
        line-height: 40px;
        font-size: 16px;
    }
    .btn-gray {
        margin-left: 2em;
        background: #ccc;
    }
    .btn-blue {
        background: #F60
    }
    .pop-html {
        display: none;
    }
    @media (max-width: 768px) {
        .pop-html {
            display: block;
        }
    }
    @media (max-width: 768px) {
        .msgbox {
            min-width: 230px;
            left: 20%;
        }
        .msgbox .msg-wrap{
            min-width: 0;
        }

    }
</style>
<div class="pop-html">
    <div class="message">
        <span>留言板</span>
        <form class="webform-client-form" action="{{ url('submit') }}" method="post">
            {{ csrf_field() }}
            <div class="contact">
                <div class="form-item webform-component webform-component-textfield webform-component--msg-name webform-container-inline">
                    <input required="required" type="text" class="name" name="data[name]" value="" size="32" maxlength="128" placeholder="请填写您的姓名">
                    <div class="tips tips-name">
                        <i style="color: #E29700"  class="iconfont icon-warning"></i>
                        请填写您的姓名
                    </div>
                </div>
                <div class="form-item webform-component webform-component-textfield webform-component--msg-mfdh webform-container-inline">
                    <input required="required" type="text" class="tel-phone" name="data[mobile]" value="" size="32" minlength="11" class="form-text required" placeholder="请填写您的电话">
                    {{--<div class="tips tips-phone">请填写正确的手机号码</div>--}}
                    <div class="tips tips-phone">
                        <i style="color: #E29700"  class="iconfont icon-warning"></i>
                        请填写正确的手机号码
                    </div>
                </div>
                <div class="form-item webform-component webform-component-textarea webform-component--msg-node">
                    <div class="form-textarea-wrapper">
                        <textarea required="required" id="edit-submitted-msg-node" name="data[content]" cols="60" rows="6" class="form-textarea" placeholder="请输入您的留言信息！"></textarea>
                        <div class="tips tips-content">
                            <i style="color: #E29700"  class="iconfont icon-warning"></i>
                            请填写您的留言信息
                        </div>
                    </div>
                </div>
            </div>
            <div class="warning-btns">
                {{--<a href="javascript:;" class="new-btn btn-blue btn-middle">确定</a>--}}
                <a href="javascript:;" class="new-btn btn-blue btn-middle">确定</a>
                <a href="javascript:;" class="new-btn btn-gray btn-middle" onclick="close_popbox();" >取消</a>
            </div>
        </form>
    </div>
</div>
<div id="popbox-container"></div>